<div style="background-color: lightblue; padding: 8px; margin-top: 8px">
    Text: <input data-bind="value: selectedText, valueUpdate: 'afterkeydown'" />
	Value: <span data-bind="text: transformedText"></span>
	<button data-bind="click: changeText">change</button>
</div>